﻿using System;
using System.Runtime.InteropServices;

namespace Ast.Core.Services.ObjectDefinitions
{
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
    public struct ObjectHeaderQuotaInfo : ISpecificObjectHeaderInfo
    {
        public uint PagedPoolCharge; // +0x000 PagedPoolCharge  : Uint4B

        public uint NonPagedPoolCharge; // +0x004 NonPagedPoolCharge : Uint4B

        public uint SecurityDescriptorCharge; // +0x008 SecurityDescriptorCharge : Uint4B

        public IntPtr SecurityDescriptorQuotaBlock; // +0x00c SecurityDescriptorQuotaBlock : Ptr32 Void

        public InfoMaskType Type
        {
            get { return InfoMaskType.QuotaInfo; }
        }
    }
}